home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc / OpenDoc Development / Debugging Support / OpenDoc™ Source Code / DocShell / ErrMsgs.r < prev    next >
Encoding:
Text File  |  1996-08-28  |  45.3 KB  |  1,124 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        ErrMsgs.r
  3.  
  4.     Contains:    Error Messages for the document shell
  5.  
  6.     Owned by:    Nick Pilch
  7.  
  8.     Copyright:    © 1994 - 1996 by Apple Computer, Inc., all rights reserved.
  9.  
  10.     Change History (most recent first):
  11.         
  12.          <4>     6/18/96    NP        1354567: No error message
  13.                                     kODErrInvalidPermissions.
  14.          <3>    .04.1996    NP        1302783, 1320564, 1333505: misspellings in
  15.                                     error dialog.
  16.          <2>     3/22/96    CC        1330388: Added kODErrCannotDeferClone
  17.         <28>    30/10/95    NP        1295276,1297278,1297281: Problems with
  18.                                     reporting private errors.
  19.         <27>    10/24/95    jpa        1293441: Added kODErrFatalContainerError
  20.         <26>    23/10/95    NP        1293899, 1293026: Error messages and
  21.                                     mapping tweaks.
  22.         <25>    17/10/95    NP        1292926: Duplicate entry 79 in STR#
  23.                                     resource.
  24.         <24>    12/10/95    NP        1284573: Final mods to error messages and
  25.                                     mappings.
  26.         <23>     10/9/95    VL        1288571: Added message for
  27.                                     kODErrNoSysTranslationFacility.
  28.         <22>     10/4/95    NP        1282801, 1285707, 1287830: Error
  29.                                     codes/messages changes.
  30.         <21>     9/29/95    eeh        1287262: use ShellDef.h
  31.         <20>     9/18/95    CG        1285279 GM: kODPartNotWrapper should be
  32.                                     kODErrPartNotWrapper.
  33.         <19>     9/12/95    DM        1278291: kODErrInvalidName ->
  34.                                     kODErrInvalidNSName
  35.         <18>     9/11/95    NP        Oops. Fixed file so it compiles.
  36.         <17>     9/11/95    NP        1281307: Need MacOS error mssgs. 1282801:
  37.                                     Some error messages missing (partial).
  38.         <16>      9/8/95    TÇ        1252120 FB1: New documents saved w/ StdFile
  39.                                     & trashed if closed w/o saving
  40.         <15>      9/8/95    VL        1282012: Removed kODErrDraftNotExists and
  41.                                     kODErrContainerNotExists.
  42.         <14>      9/8/95    jpa        Removed obsolete errors. Removed "invalid"
  43.                                     from names of errors that are actually
  44.                                     still valid. [1281354]
  45.         <13>      9/8/95    TÇ        1263308 FB3:Cryptic error msg when making
  46.                                     stationery from part not in the Editors
  47.                                     folder
  48.         <12>     8/24/95    EL        1278212: kODErrNoDocumentProperties no
  49.                                     longer needed.
  50.         <11>     8/21/95    NP        1274946:
  51.                                     kODErrInvalidCanvas->kODErrCanvasNotFound
  52.         <10>     8/18/95    NP        1274946: Had to remove some stuff. Still
  53.                                     need to fix up this file.
  54.          <9>     8/16/95    NP        1274946: ErrorDef.idl problems.
  55.          <8>      6/9/95    TJ        Include ErrorDef.r instead of ErrorDef.xh
  56.          <7>      6/1/95    jpa        Added msg for kODErrCantLoadSOMClass. Fixed
  57.                                     messages for kODErrCantCreatePart and
  58.                                     kODErrCantCreateContainer. [1242839]
  59.          <6>     5/25/95    VL        1251403: Multithreading naming support.
  60.          <5>     5/18/95    CC        1250280: Track rename to
  61.                                     kODErrNullFacetInput.
  62.          <4>     4/14/95    TÇ        #1221135    DR/BB: When OpenDoc Libraries
  63.                                     folder is missing, OpenDoc reports generic
  64.                                     error 84
  65.                                     #1239535    DR/BB: When Editors folder is
  66.                                     missing, OpenDoc reports undefined error
  67.                                     173.
  68.          <3>     3/28/95    TÇ        #1196779 BB: Better error message for
  69.                                     Saving a Copy onto oneself
  70.          <2+>     3/23/95    MS        Added "invalid error code" message strings for the 
  71.                                      following codes marked $$$$$:  kODErrAssertionFailed,
  72.                                     kODErrInvalidParameter, kODErrInvalidFrame, 
  73.                                     kODErrInvalidFacet, kODErrInvalidValue, 
  74.                                     kODErrInvalidRefCount, kODErrInvalidGraphicsSystem, 
  75.                                     kODErrTransformErr, kODErrInvalidCanvas, 
  76.                                     kODErrMemoryProblem, kODErrInvalidNSName, 
  77.                                     kODErrInvalidContainer, kODErrInvalidDocument, 
  78.                                     kODErrInvalidDraft, kODErrInvalidStorageUnit, 
  79.                                     kODErrInvalidType, kODErrInvalidProperty, 
  80.                                     kODErrInvalidID, kODErrInconsistentCloneKind, 
  81.                                     kODErrInvalidLinkKey, kODErrCannotCreateContainer, 
  82.                                     and kODErrCannotOpenContainer. Also, changed string 
  83.                                     reference for kOKErrWriteErr and kODErrZeroRefCount.
  84.                   3/22/95    MS        Added User ID message strings and Support ID 
  85.                                      placeholders for the following new error codes: 
  86.                                     kODErrPartInUse, 
  87.                                     kODErrCouldNotBindForeign Document, 
  88.                                     kODErrSystemVolumeIsFull, kODErrRefCountNotEqualOne, 
  89.                                     kODErrAllWritableVolumesAreFull, 
  90.                                     kODErrDirectoryNotHaveWriteAccess, 
  91.                                     kODErrCannotSaveACopyOntoCurrentDoc, 
  92.                                     kODErrCannotSaveACopyOntoBusyDoc, kODErrFileClosed, 
  93.                                     kODErrFileOpened, kODErrSOMException, 
  94.                                     kODErrCorruptLinkSource, kODErrCorruptLink, 
  95.                                     kODErrCannotRevealLink, 
  96.                                     kODErrCannotFindLinkSourceEdition, 
  97.                                     kODErrCannotFindLinkSource, kODErrAlreadyImportedLink,
  98.                                     kODErrLinkAlreadyExported, kODErrInvalidObjectType, 
  99.                                     kODErrInvalidPersistentObjectID, kODErrNullFacet, 
  100.                                     and kODErrIllegalNullStorageSystemInput.  
  101.          <2>     3/21/95    TÇ        Tweaked a couple of messages.
  102.          <1>    12/25/94    TÇ        first checked in
  103.          <0.4>    12/25/94    TÇ        1191189 Eliminate duplicate Def.h, Def.xh files
  104.                                     1187709 More frequent, robust and earlier error 
  105.                                     detection and reporting in the Shell.
  106.                                     Fixed resources so that they would compile with Rez.
  107.  
  108.          <0.3>    12/12/94    MS        entered more UserID error codes
  109.          <0.2>     12/5/94    MS        entered a few UserID errors for format check by Tantek
  110.          <0.1>    12/19/94    MS        alpha draft for UserID and SupportID error codes and 
  111.                                      strings
  112.  
  113.     Note(s) from Tantek:
  114.         1. Make sure to NOT put in things like
  115.              <"name">
  116.            in the middle of strings.  It doesn't work because quotes do not nest in Rez.
  117.         2. Try to make sure that Change History comments are no more than 80 chars 
  118.            per line.
  119.         3. DO NOT DELETE ANY STRINGS FROM THE STR# resources. Simply empty them out.
  120.            Like this:   ;""
  121.            This we they don't get renumbered, we don't have to try and fix up the
  122.            'errs' resources to point to the renumbered indexes into the STR# resources.
  123.         
  124.     In Progress:
  125.         
  126. */
  127.  
  128. #define SystemSevenOrBetter 1            // we want the extended types
  129. #define    SystemSevenOrLater    1            // Types.r uses this variable
  130.  
  131. #define oldTemp            // to get 'dctb' resources to rez
  132. #ifndef __TYPES_R__
  133. #include "Types.r"
  134. #endif
  135. #undef oldTemp
  136.  
  137. #ifndef _SHELLDEF_
  138. #include "ShellDef.h"
  139. #endif
  140.  
  141. #ifndef SOM_Module_OpenDoc_Errors_defined
  142. #include "ErrorDef.r"
  143. #endif
  144.  
  145. /* list mapping exception codes to user explanations */
  146.  
  147. /* See ErrorDef.idl for range information */
  148.  
  149. #define minUtilsErr -29849
  150. #define maxUtilsErr -29830
  151. #define minUIErr -29829
  152. #define maxUIErr -29827
  153. #define minShellErr -29826
  154. #define maxShellErr -29810
  155. #define minODBentoErr -29809
  156. #define maxODBentoErr -29789
  157. #define minBentoErr 1000
  158. #define maxBentoErr 1999
  159.  
  160. /*-------------------------------------errs-------------------------------------*/
  161. type 'errs' {
  162.     wide array {                                // Error list
  163.         LONGINT         whichList = 0,
  164.                     minErr = -2147483648;        // Low error number; 0 specifies STR#
  165.         LONGINT        maxErr = 2147483647;         // High error number
  166.         LONGINT;                                // Index in STR# of string
  167.     };
  168. };
  169.  
  170. resource 'errs' (kODErrUserID,purgeable) {
  171.     {    whichList, 0, kODErrUserIDStrings
  172.             ;kODErrInvalidFrame, kODErrInvalidFrame, 1
  173.             ;kODErrInvalidFacet, kODErrInvalidFacet, 1
  174.             ;kODErrIllegalNullInput, kODErrIllegalNullInput, 1
  175.             ;kODErrObjectNotInitialized, kODErrObjectNotInitialized, 1
  176.             ;kODErrOutOfMemory, kODErrOutOfMemory, 3
  177.             ;kODErrNotImplemented, kODErrNotImplemented, 1
  178.  
  179.             ;kODErrSubClassResponsibility, kODErrSubClassResponsibility, 1
  180.             ;kODErrUnsupportedExtension, kODErrUnsupportedExtension, 1
  181.             ;kODErrInvalidObjectType, kODErrInvalidObjectType, 1
  182.             ;kODErrInvalidPersistentObjectID, kODErrInvalidPersistentObjectID, 1
  183.             ;kODErrRefCountNotEqualOne, kODErrRefCountNotEqualOne, 1
  184.             ;kODErrZeroRefCount, kODErrZeroRefCount, 1
  185.             ;kODErrIteratorOutOfSync, kODErrIteratorOutOfSync, 1
  186.  
  187.             ;kODErrCannotEmbed, kODErrCannotEmbed, 8
  188.             ;kODErrKeyAlreadyExists, kODErrKeyAlreadyExists, 1
  189.             ;kODErrPartInUse, kODErrPartInUse, 45
  190.  
  191.     /* DOCSHELL PRIVATE CODES */
  192.             ;kODErrDirectoryNotHaveWriteAccess, kODErrDirectoryNotHaveWriteAccess, 10
  193.             ;kODErrCouldNotBindForeignDocument, kODErrCouldNotBindForeignDocument, 33
  194.             ;kODErrAllWritableVolumesAreFull, kODErrAllWritableVolumesAreFull, 34
  195.             ;kODErrSystemVolumeIsFull, kODErrSystemVolumeIsFull, 35
  196.             ;kODErrCannotSaveACopyOntoCurrentDoc, kODErrCannotSaveACopyOntoCurrentDoc, 36
  197.             ;kODErrCannotSaveACopyOntoBusyDoc, kODErrCannotSaveACopyOntoBusyDoc, 37
  198.             ;kODErrCannotFindSystemEditorsFolder, kODErrCannotFindSystemEditorsFolder, 70
  199.             ;kODErrCannotFindOpenDocLibrariesFolder, kODErrCannotFindOpenDocLibrariesFolder, 71
  200.             ;kODErrEditorLibraryNotFound, kODErrEditorLibraryNotFound, 74
  201.             ;kODErrCannotSaveAsOntoBusyDoc, kODErrCannotSaveAsOntoBusyDoc, 75
  202.     /* END DOCSHELL PRIVATE CODES */
  203.  
  204.             ;kODErrInvalidGraphicsSystem, kODErrInvalidGraphicsSystem, 1
  205.             ;kODErrNoShapeGeometry, kODErrNoShapeGeometry, 1
  206.             ;kODErrTransformErr, kODErrTransformErr, 1
  207.             ;kODErrCanvasNotFound, kODErrCanvasNotFound, 1
  208.             ;kODErrUnsupportedFramePositionCode, kODErrUnsupportedFramePositionCode, 1
  209.             ;kODErrIllegalNullPartInput, kODErrIllegalNullPartInput, 1
  210.             ;kODErrIllegalNullTransformInput, kODErrIllegalNullTransformInput, 1
  211.             ;kODErrIllegalNullStorageSystemInput, kODErrIllegalNullStorageSystemInput, 1
  212.             ;kODErrInvalidBlock, kODErrInvalidBlock, 45
  213.  
  214.             ;kODErrUnsupportedPosCode, kODErrUnsupportedPosCode, 1
  215.             ;kODErrInvalidPermissions, kODErrInvalidPermissions, 14
  216.             ;kODErrInvalidNSName, kODErrInvalidNSName, 1
  217.             ;kODErrInvalidStorageUnit, kODErrInvalidStorageUnit, 1
  218.             ;kODErrNoValueAtThatIndex, kODErrNoValueAtThatIndex, 1
  219.             ;kODErrCannotAddProperty, kODErrCannotAddProperty, 1
  220.  
  221.             ;kODErrUnfocusedStorageUnit, kODErrUnfocusedStorageUnit, 1
  222.             ;kODErrIllegalNullPropertyInput, kODErrIllegalNullPropertyInput, 1
  223.             ;kODErrIllegalNullSUCursorInput, kODErrIllegalNullSUCursorInput, 1
  224.             ;kODErrInvalidStorageUnitRef, kODErrInvalidStorageUnitRef, 1
  225.             ;kODErrInvalidStorageUnitKey, kODErrInvalidStorageUnitKey, 1
  226.             ;kODErrStorageUnitNotLocked, kODErrStorageUnitNotLocked, 1
  227.             ;kODErrNoDraftProperties, kODErrNoDraftProperties, 1
  228.  
  229.             ;kODErrCannotCreateFrame, kODErrCannotCreateFrame, 1
  230.             ;kODErrCannotAcquireFrame, kODErrCannotAcquireFrame, 1
  231.             ;kODErrCannotCreatePart, kODErrCannotCreatePart, 16
  232.             ;kODErrCannotAcquirePart, kODErrCannotAcquirePart, 1
  233.             ;kODErrCannotCreateLink, kODErrCannotCreateLink, 1
  234.             ;kODErrCannotAcquireLink, kODErrCannotAcquireLink, 1
  235.             ;kODErrInvalidID, kODErrInvalidID, 1
  236.             ;kODErrInconsistentCloneKind, kODErrInconsistentCloneKind, 1
  237.             ;kODErrInvalidCloneKind, kODErrInvalidCloneKind, 1
  238.             ;kODErrInvalidBelowDraft, kODErrInvalidBelowDraft, 1
  239.  
  240.             ;kODErrCannotCollapseDrafts, kODErrCannotCollapseDrafts, 18
  241.             ;kODErrNonEmptyDraft, kODErrNonEmptyDraft, 1
  242.             ;kODErrNoPreviousDraft, kODErrNoPreviousDraft, 1
  243.             ;kODErrOutstandingDraft, kODErrOutstandingDraft, 1
  244.             ;kODErrInvalidDraftID, kODErrInvalidDraftID, 1
  245.             ;kODErrCannotChangePermissions, kODErrCannotChangePermissions, 1
  246.             ;kODErrContainerExists, kODErrContainerExists, 1
  247.             ;kODErrCannotGetExternalLink, kODErrCannotGetExternalLink, 21
  248.  
  249.             ;kODErrNoLinkSpecValue, kODErrNoLinkSpecValue, 1
  250.             ;kODErrUnknownLinkSpecVersion, kODErrUnknownLinkSpecVersion, 1
  251.             ;kODErrCorruptLinkSpecValue, kODErrCorruptLinkSpecValue, 1
  252.             ;kODErrNotExportedLink, kODErrNotExportedLink,  1
  253.             ;kODErrBrokenLink, kODErrBrokenLink,  22
  254.             ;kODErrCannotRevealLink, kODErrCannotRevealLink, 39
  255.             ;kODErrCorruptLink, kODErrCorruptLink, 40
  256.             ;kODErrLinkAlreadyExported, kODErrLinkAlreadyExported, 42
  257.             ;kODErrNotImportedLink, kODErrNotImportedLink,  1
  258.             ;kODErrInvalidLinkKey, kODErrInvalidLinkKey, 1
  259.  
  260.             ;kODErrBrokenLinkSource, kODErrBrokenLinkSource, 23
  261.             ;kODErrCorruptLinkSource, kODErrCorruptLinkSource, 40
  262.             ;kODErrCannotFindLinkSourceEdition, kODErrCannotFindLinkSourceEdition, 41
  263.             ;kODErrCannotFindLinkSource, kODErrCannotFindLinkSource, 55
  264.             ;kODErrAlreadyImportedLink, kODErrAlreadyImportedLink, 42
  265.             ;kODErrDocNotSaved, kODErrDocNotSaved, 24
  266.             ;kODErrNoDragManager, kODErrNoDragManager, 25
  267.             ;kODErrNoDragSystemStorage, kODErrNoDragSystemStorage, 26
  268.             ;kODErrDragItemNotFound, kODErrDragItemNotFound, 56
  269.             ;kODErrCannotAllocateDragItem, kODErrCannotAllocateDragItem, 26
  270.  
  271.             ;kODErrUnknownDragImageType, kODErrUnknownDragImageType, 1
  272.             ;kODErrDragTrackingException, kODErrDragTrackingException, 27
  273.             ;kODErrNullFacetInput, kODErrNullFacetInput, 1
  274.             ;kODErrCannotCreateContainer, kODErrCannotCreateContainer, 1
  275.             ;kODErrCannotOpenContainer, kODErrCannotOpenContainer, 1
  276.             ;kODErrFocusAlreadyRegistered, kODErrFocusAlreadyRegistered,  1
  277.             ;kODErrFocusNotRegistered, kODErrFocusNotRegistered,  1
  278.             ;kODErrIllegalNullDispatchModuleInput, kODErrIllegalNullDispatchModuleInput,  1
  279.             ;kODErrCannotMarkAction, kODErrCannotMarkAction, 1
  280.             ;kODErrEmptyStack, kODErrEmptyStack, 1
  281.  
  282.             ;kODErrNoBeginAction, kODErrNoBeginAction, 1
  283.             ;kODErrCannotAddAction, kODErrCannotAddAction, 1
  284.             ;kODErrCannotCreateWindow, kODErrCannotCreateWindow, 30
  285.             ;kODErrInvalidDestinationDraft,kODErrInvalidDestinationDraft, 1
  286.             ;kODErrInvalidDraftKey, kODErrInvalidDraftKey,1
  287.             ;kODErrCloningInProgress, kODErrCloningInProgress, 1
  288.             ;kODErrIllegalNullTokenInput, kODErrIllegalNullTokenInput, 1
  289.             
  290.             ;kODErrIllegalNullShapeInput, kODErrIllegalNullShapeInput, 1
  291.             ;kODErrIllegalNullStorageUnitInput,kODErrIllegalNullStorageUnitInput, 1
  292.             ;kODErrDoesNotUndo, kODErrDoesNotLink, 4
  293.             ;kODErrPartNotWrapper, kODErrPartNotWrapper, 1
  294.             ;kODErrInvalidPersistentObject,  kODErrInvalidPersistentObject, 1
  295.  
  296.             ;kODErrUndefined, kODErrUndefined, 1
  297.  
  298.             ;kODErrAlreadyNotified, kODErrAlreadyNotified, 1
  299.  
  300.             ;kODErrIllegalNullFacetInput, kODErrIllegalNullFacetInput, 1
  301.             ;kODErrIllegalNullFrameInput, kODErrIllegalNullFrameInput, 1
  302.             ;kODErrIllegalNullContainerInput, kODErrIllegalNullContainerInput, 1
  303.             ;kODErrIllegalNullDocumentInput, kODErrIllegalNullDocumentInput, 1
  304.             ;kODErrIllegalNullDraftInput, kODErrIllegalNullDraftInput, 1
  305.             ;kODErrIllegalNullValueTypeInput, kODErrIllegalNullValueTypeInput, 1
  306.             ;kODErrIllegalNullIDInput, kODErrIllegalNullIDInput, 1
  307.  
  308.             ;kODErrValueOutOfRange, kODErrValueOutOfRange, 1
  309.  
  310.             ;kODErrInsufficientInfoInParams, kODErrInsufficientInfoInParams, 1
  311.  
  312.             ;kODErrInvalidPersistentFormat, kODErrInvalidPersistentFormat, 49
  313.  
  314.             ;kODErrInvalidExtension, kODErrInvalidExtension, 1
  315.             ;kODErrUnknownExtension, kODErrUnknownExtension, 1
  316.  
  317.             ;kODErrRefCountGreaterThanZero, kODErrRefCountGreaterThanZero, 1
  318.  
  319.             ;kODErrIteratorNotInitialized, kODErrIteratorNotInitialized, 1
  320.  
  321.             ;kODErrNoPromises, kODErrNoPromises, 1
  322.             ;kODErrDoesNotDrop, kODErrDoesNotDrop, 1
  323.  
  324.             ;kODErrInvalidNSName, kODErrInvalidNSName, 1
  325.             ;kODErrInvalidNSType, kODErrInvalidNSType, 1
  326.  
  327.             ;kODErrInvalidITextFormat, kODErrInvalidITextFormat, 1
  328.  
  329.             ;kODErrInvalidPlatformShape, kODErrInvalidPlatformShape, 1
  330.  
  331.             ;kODErrFacetNotFound, kODErrFacetNotFound, 1
  332.             ;kODErrCanvasHasNoOwner, kODErrCanvasHasNoOwner, 1
  333.             ;kODErrNotRootFrame, kODErrNotRootFrame, 1
  334.             ;kODErrIllegalRecursiveEmbedding, kODErrIllegalRecursiveEmbedding, 50
  335.             ;kODErrFrameHasFacets, kODErrFrameHasFacets, 1
  336.  
  337.             ;kODErrInvalidLinkStatus, kODErrInvalidLinkStatus, 1
  338.  
  339.             ;kODErrNotAnODToken, kODErrNotAnODToken, 1
  340.             ;kODErrCantCountFromLists, kODErrCantCountFromLists, 51
  341.  
  342.             ;kODErrContainerDoesNotExist, kODErrContainerDoesNotExist, 1
  343.             ;kODErrDocumentDoesNotExist, kODErrDocumentDoesNotExist, 1
  344.             ;kODErrDraftDoesNotExist, kODErrDraftDoesNotExist, 1
  345.             ;kODErrDraftHasBeenDeleted, kODErrDraftHasBeenDeleted, 1
  346.             ;kODErrIllegalOperationOnSU, kODErrIllegalOperationOnSU, 1
  347.             ;kODErrSUValueDoesNotExist, kODErrSUValueDoesNotExist, 1
  348.             ;kODErrIllegalNonTopmostDraft, kODErrIllegalNonTopmostDraft, 1
  349.  
  350.             ;kODErrValueIndexOutOfRange, kODErrValueIndexOutOfRange, 1
  351.             ;kODErrInvalidValueType, kODErrInvalidValueType, 1
  352.             ;kODErrIllegalPropertyName, kODErrIllegalPropertyName, 1
  353.             ;kODErrPropertyDoesNotExist, kODErrPropertyDoesNotExist, 1
  354.             ;kODErrMoveIntoSelf, kODErrMoveIntoSelf, 50
  355.  
  356.             ;kODErrNullDestinationFrame, kODErrNullDestinationFrame, 1
  357.             ;kODErrNoLinkContent, kODErrNoLinkContent, 52
  358.             ;kODErrCannotRegisterDependent, kODErrCannotRegisterDependent, 1
  359.             ;kODErrUnknownUpdateID, kODErrUnknownUpdateID, 1
  360.             ;kODErrCannotEstablishLink, kODErrCannotEstablishLink, 52
  361.             ;kODErrNoEditionManager, kODErrNoEditionManager, 53
  362.             ;kODErrNullLinkInfoInput, kODErrNullLinkInfoInput, 1
  363.             ;kODErrNullLinkInfoResultInput, kODErrNullLinkInfoResultInput, 1
  364.  
  365.             ;kODErrNullPasteAsResultInput, kODErrNullPasteAsResultInput, 1
  366.             ;kODErrBackgroundClipboardClear, kODErrBackgroundClipboardClear, 1
  367.             ;kODErrIllegalClipboardCloneKind, kODErrIllegalClipboardCloneKind, 1
  368.  
  369.             ;kODErrInvalidCommandID, kODErrInvalidCommandID, 1
  370.             ;kODErrNoSysTranslationFacility, kODErrNoSysTranslationFacility, 54
  371.  
  372.             ;kODErrFatalContainerError, kODErrFatalContainerError, 13
  373.             ;kODErrCannotDeferClone, kODErrCannotDeferClone, 1
  374.  
  375. /* There should be a Errors.r! */
  376.  
  377. #define dirFulErr -33
  378. #define dskFulErr -34
  379. #define nsvErr -35
  380. #define ioErr -36
  381. #define bdNamErr -37
  382. #define fnfErr -43
  383. #define wPrErr -44
  384. #define fLckdErr -45
  385. #define vLckdErr -46
  386. #define fBsyErr -47
  387. #define dupFNErr -48
  388. #define opWrErr -49
  389. #define permErr -54
  390. #define wrPermErr -61
  391. #define dirNFErr -120
  392. #define memFullErr -108
  393. #define resNotFound -192
  394. #define resFNotFound -193
  395. #define fragLibNotFound -2804
  396. #define fragHadUnresolveds -2807
  397.  
  398.             ;dirFulErr, dirFulErr, 80
  399.             ;dskFulErr, dskFulErr, 81
  400.             ;nsvErr, nsvErr,  82
  401.             ;ioErr, ioErr,  83
  402.             ;bdNamErr, bdNamErr,  84
  403.             ;nsvErr, nsvErr,  85
  404.             ;fnfErr, fnfErr,  86
  405.             ;wPrErr, wPrErr,  87
  406.             ;fLckdErr, fLckdErr,  88
  407.             ;vLckdErr, vLckdErr,  89
  408.             ;fBsyErr, fBsyErr,  90
  409.             ;dupFNErr, dupFNErr,  91
  410.             ;opWrErr, opWrErr,  92
  411.             ;permErr, permErr,  93
  412.             ;wrPermErr, wrPermErr,  94
  413.             ;dirNFErr, dirNFErr,  95
  414.             ;memFullErr, memFullErr,  3
  415.             ;resNotFound, resNotFound,  1
  416.             ;resFNotFound, resFNotFound,  86
  417.             ;fragLibNotFound, fragLibNotFound,  100
  418.             ;fragHadUnresolveds, fragHadUnresolveds,  100
  419.  
  420.  
  421. #if ODDebug
  422.             ;minUtilsErr, maxUtilsErr, 5
  423.             ;minShellErr, maxShellErr, 7
  424.             ;minODBentoErr, maxODBentoErr, 9
  425.             ;minBentoErr, maxBentoErr, 11
  426. #else
  427.             ;minUtilsErr, maxUtilsErr, 1
  428.             ;minShellErr, maxShellErr, 1
  429.             ;minODBentoErr, maxODBentoErr, 11
  430.             ;minBentoErr, maxBentoErr, 11
  431. #endif
  432.             ;minUIErr, maxUIErr, 6
  433.  
  434.             ;kODMinError, kODMinUsedError, 79
  435.  
  436.             ;minErr, maxErr, 2
  437.             
  438.     }
  439. };
  440.  
  441. /* error user explanations */
  442. /*
  443.    DO NOT DELETE ANY STRINGS FROM THE STR# resources. Simply empty them out.
  444.    Like this:   ;""
  445.    This we they don't get renumbered, we don't have to try and fix up the
  446.    'errs' resources to point to the renumbered indexes into the STR# resources.
  447. */
  448.  
  449. resource 'STR#' (kODErrUserIDStrings,purgeable) {
  450.     {        "An unknown error has occurred in OpenDoc or a part editor."
  451. /* 2 */        ;"An unknown error has occurred, probably a part editor error. Try using a different editor."
  452. /* 3 */        ;"Out of memory. Try closing some windows to make more memory available."
  453. /* 4 */        ;"The feature or action you requested is not implemented in this part editor. Try using a different editor."
  454. /* 5 */        ;"A private Utilities error has found its way to the shell. This shouldn't happen. Please file a bug."
  455. #if ODDebug
  456. /* 6 */        ;"A private UI subsystem error has found its way to the shell. This shouldn't happen. Please file a bug."
  457. #else
  458. /* 6 */        ;"An internal error has occurred in OpenDoc's event processing."
  459. #endif
  460. /* 7 */        ;"A private Shell subsystem error has found its way to the shell. This shouldn't happen. Please file a bug."
  461. /* 8 */        ;"The part editor used to create the document doesn’t allow embedding. Try using a different editor."
  462. /* 9 */        ;"A private Bento container suite error has found its way to the shell. This shouldn't happen. Please file a bug."
  463. /* 10 */    ;"You can't change the document because you don't have enough access privileges. See the owner of the document to have your privileges changed or make a copy of the document to make changes to it."
  464.  
  465. /* 11*/        ;"An internal error has occurred in OpenDoc’s document storage system."
  466. /* 12 */    ;"A private Bento error has found its way to the shell. This shouldn't happen. Please file a bug."
  467. /* 13 */    ;"A fatal storage error occurred (probably out of memory or disk space.) The document file is intact, but must close immediately without saving changes. Sorry."
  468. /* 14 */    ;"A permissions error occurred. Perhaps an editor tried to modify a read-only draft or document."
  469. #if ODDebug
  470. /* 15 */    ;"Unused slot in messages table. You shouldn't be seeing this message. Please file a bug."
  471. #else
  472. /* 15 */    ;""
  473. #endif
  474. /* 16 */    ;"The part editor could not be found. Try reinstalling it."
  475. #if ODDebug
  476. /* 17 */    ;"Unused slot in messages table. You shouldn't be seeing this message. Please file a bug."
  477. #else
  478. /* 17 */    ;""
  479. #endif
  480. /* 18 */    ;"You can’t delete drafts of this document."
  481. #if ODDebug
  482. /* 19 */    ;"Unused slot in messages table. You shouldn't be seeing this message. Please file a bug."
  483. /* 20 */    ;"Unused slot in messages table. You shouldn't be seeing this message. Please file a bug."
  484. #else
  485. /* 19 */    ;""
  486. /* 20 */    ;""
  487. #endif
  488.  
  489. /* 21 */    ;"Can't create the link because the source document has been closed. Try recreating the link."
  490. /* 22 */    ;"The link has unexpectedly broken. Try re-creating the link."
  491. /* 23 */    ;"The connection between the link source and all destinations has unexpectedly been broken. You'll need to re-create all links to the source."
  492. /* 24 */    ;"The link cannot be created until the link source has been saved. Save the document that contains the link source, then try again."
  493. /* 25 */    ;"Drag and Drop is not installed on your computer. Try copying and pasting your information."
  494. /* 26 */    ;"There is not enough memory to drag and drop all these items. Try dragging them one at a time."
  495. /* 27 */    ;"An unknown error occurred while dragging."
  496. #if ODDebug
  497. /* 28 */    ;"Unused slot in messages table. You shouldn't be seeing this message. Please file a bug."
  498. /* 29 */    ;"Unused slot in messages table. You shouldn't be seeing this message. Please file a bug."
  499. #else
  500. /* 28 */    ;""
  501. /* 29 */    ;""
  502. #endif
  503. /* 30 */    ;"OpenDoc is out of memory and can’t open any more windows. Try closing some windows to make more memory available."
  504.  
  505. #if ODDebug
  506. /* 31 */    ;"Unused slot in messages table. You shouldn't be seeing this message. Please file a bug."
  507. /* 32 */    ;"Unused slot in messages table. You shouldn't be seeing this message. Please file a bug."
  508. #else
  509. /* 31 */    ;""
  510. /* 32 */    ;""
  511. #endif
  512. /* 33 */    ;"The document can't be opened because you don't have the part editor that was used to create the document. Contact the vendor for the part editor."
  513. /* 34 */    ;"Cannot create a new document because every available disk is full."
  514. /* 35 */    ;"Cannot create a new document because the startup disk is full."
  515. /* 36 */    ;"Cannot save a copy of a document onto itself. Give the copy a different name."
  516. /* 37 */    ;"Cannot save a copy onto an open document."
  517. #if ODDebug
  518. /* 38 */    ;"Unused slot in messages table. You shouldn't be seeing this message. Please file a bug."
  519. #else
  520. /* 38 */    ;""
  521. #endif
  522. /* 39 */    ;"Cannot find the link source because it has been deleted. Try recreating the link."
  523. /* 40 */    ;"There is a problem with this link. Try breaking the link, then creating it again."
  524.  
  525. /* 41 */    ;"There is a problem with the Edition file, an intermediary file which handles links. Try breaking and re-creating the link."
  526. /* 42 */    ;"An OpenDoc linking error occurred. Break and re-create the link. Then close and re-open the document. "
  527. #if ODDebug
  528. /* 43 */    ;"Unused slot in messages table. You shouldn't be seeing this message. Please file a bug."
  529. /* 44 */    ;"Unused slot in messages table. You shouldn't be seeing this message. Please file a bug."
  530. #else
  531. /* 43 */    ;""
  532. /* 44 */    ;""
  533. #endif
  534. /* 45 */    ;"The part is in use. Try again later."
  535. /* 46 */    ;"An internal memory error has occurred. Try closing the document, then opening it again."
  536. #if ODDebug
  537. /* 47 */    ;"Unused slot in messages table. You shouldn't be seeing this message. Please file a bug."
  538. /* 48 */    ;"Unused slot in messages table. You shouldn't be seeing this message. Please file a bug."
  539. #else
  540. /* 47 */    ;""
  541. /* 48 */    ;""
  542. #endif
  543. /* 49 */    ;"Some data in the document cannot be read because its format is unknown."
  544. /* 50 */    ;"Cannot insert a part within itself."
  545.  
  546. /* 51 */    ;"Cannot process an incoming event (possibly a script)."
  547. /* 52 */    ;"There was a problem creating this link. Please recreate the link."
  548. /* 53 */    ;"A necessary system service, the Edition Manager, is not available in your system software. To get the Edition Manager, upgrade to System Software version 7.0 or later."
  549. /* 54 */    ;"A necessary system service is not available (translation services)."
  550. /* 55 */    ;"Cannot find the link source. Trying breaking and re-creating the link."
  551. /* 56 */    ;"Cannot find the item to be dragged."
  552. #if ODDebug
  553. /* 57 */    ;"Unused slot in messages table. You shouldn't be seeing this message. Please file a bug."
  554. /* 58 */    ;"Unused slot in messages table. You shouldn't be seeing this message. Please file a bug."
  555. /* 59 */    ;"Unused slot in messages table. You shouldn't be seeing this message. Please file a bug."
  556. /* 60 */    ;"Unused slot in messages table. You shouldn't be seeing this message. Please file a bug."
  557.  
  558. /* 61 */    ;"Unused slot in messages table. You shouldn't be seeing this message. Please file a bug."
  559. /* 62 */    ;"Unused slot in messages table. You shouldn't be seeing this message. Please file a bug."
  560. /* 63 */    ;"Unused slot in messages table. You shouldn't be seeing this message. Please file a bug."
  561. /* 64 */    ;"Unused slot in messages table. You shouldn't be seeing this message. Please file a bug."
  562. /* 65 */    ;"Unused slot in messages table. You shouldn't be seeing this message. Please file a bug."
  563. /* 66 */    ;"Unused slot in messages table. You shouldn't be seeing this message. Please file a bug."
  564. /* 67 */    ;"Unused slot in messages table. You shouldn't be seeing this message. Please file a bug."
  565. #else
  566. /* 57 */    ;""
  567. /* 58 */    ;""
  568. /* 59 */    ;""
  569. /* 60 */    ;""
  570.  
  571. /* 61 */    ;""
  572. /* 62 */    ;""
  573. /* 63 */    ;""
  574. /* 64 */    ;""
  575. /* 65 */    ;""
  576. /* 66 */    ;""
  577. /* 67 */    ;""
  578. #endif
  579. #if ODDebug
  580. /* 68 */    ;"Unused slot in messages table. You shouldn't be seeing this message. Please file a bug."
  581. /* 69 */    ;"Unused slot in messages table. You shouldn't be seeing this message. Please file a bug."
  582. #else
  583. /* 68 */    ;""
  584. /* 69 */    ;""
  585. #endif
  586. /* 70 */    ;"Cannot find the Editors folder. Re-install OpenDoc and your part editors."
  587.  
  588. /* 71 */    ;"Cannot find the OpenDoc Libraries Folder. Re-install OpenDoc."
  589. #if ODDebug
  590. /* 72 */    ;"Unused slot in messages table. You shouldn't be seeing this message. Please file a bug."
  591. /* 73 */    ;"Unused slot in messages table. You shouldn't be seeing this message. Please file a bug."
  592. #else
  593. /* 72 */    ;""
  594. /* 73 */    ;""
  595. #endif
  596. /* 74 */    ;"Unable to create new stationery because the part editor could not be found.  "
  597.                 "Please make sure it is installed correctly."
  598. /* 75 */    ;"Cannot save as onto an open document."
  599. #if ODDebug
  600. /* 76 */    ;"Unused slot in messages table. You shouldn't be seeing this message. Please file a bug."
  601. /* 77 */    ;"Unused slot in messages table. You shouldn't be seeing this message. Please file a bug."
  602. /* 78 */    ;"Unused slot in messages table. You shouldn't be seeing this message. Please file a bug."
  603. /* 79 */    ;"Missing an entry for an OpenDoc error code. Please file a bug."
  604. #else
  605. /* 76 */    ;""
  606. /* 77 */    ;""
  607. /* 78 */    ;""
  608. /* 79 */    ;""
  609. #endif
  610. /* 80 */    ;"The directory is full. Try removing files from the folder or starting a new folder."
  611.  
  612. /* 81 */    ;"The disk is full. Try removing files from the disk."
  613. /* 82 */    ;"The disk does not exist."
  614. /* 83 */    ;"There is a hardware problem with the hard disk."
  615. /* 84 */    ;"A bad file name was used. The name may contain special characters that are not allowed. Try using a different name."
  616. /* 85 */    ;"The disk does not exist."
  617. /* 86 */    ;"The file was not found."
  618. /* 87 */    ;"The diskette is locked."
  619. /* 88 */    ;"The file is locked."
  620. /* 89 */    ;"The volume is locked."
  621. /* 90 */    ;"The file is already open."
  622.  
  623. /* 91 */    ;"A file by that name already exists. Use a different name."
  624. /* 92 */    ;"The file is already open."
  625. /* 93 */    ;"Cannot access the file."
  626. /* 94 */    ;"Cannot access the file for writing. The folder or disk may be locked or you may not have privileges to change the file."
  627. /* 95 */    ;"The folder was not found."
  628. #if ODDebug
  629. /* 96 */    ;"Unused slot in messages table. You shouldn't be seeing this message. Please file a bug."
  630. /* 97 */    ;"Unused slot in messages table. You shouldn't be seeing this message. Please file a bug."
  631. /* 98 */    ;"Unused slot in messages table. You shouldn't be seeing this message. Please file a bug."
  632. /* 99 */    ;"Unused slot in messages table. You shouldn't be seeing this message. Please file a bug."
  633. #else
  634. /* 96 */    ;""
  635. /* 97 */    ;""
  636. /* 98 */    ;""
  637. /* 99 */    ;""
  638. #endif
  639. /* 100 */    ;"Cannot find all the necessary shared libraries. Try re-installing OpenDoc."
  640.     }
  641. };
  642.  
  643. /* list mapping exception codes to technical explanations */
  644.  
  645. resource 'errs' (kODErrSupportID,purgeable) {
  646.     {    whichList, 0, kODErrSupportIDStrings
  647.             ;kODErrUndefined, kODErrUndefined, 99
  648.             ;kODErrIllegalNullInput, kODErrIllegalNullInput, 2
  649.             ;kODErrObjectNotInitialized, kODErrObjectNotInitialized, 3
  650.             ;kODErrOutOfMemory, kODErrOutOfMemory, 4
  651.             ;kODErrNotImplemented, kODErrNotImplemented, 5
  652.             ;kODErrSubClassResponsibility, kODErrSubClassResponsibility, 8
  653.             ;kODErrUnsupportedExtension, kODErrUnsupportedExtension, 9
  654.             ;kODErrZeroRefCount, kODErrZeroRefCount, 10
  655.             
  656.             ;kODErrIteratorOutOfSync, kODErrIteratorOutOfSync, 11
  657.             ;kODErrCannotEmbed, kODErrCannotEmbed, 12
  658.             ;kODErrKeyAlreadyExists, kODErrKeyAlreadyExists, 13
  659.             ;kODErrNoShapeGeometry, kODErrNoShapeGeometry, 15
  660.             ;kODErrUnsupportedFramePositionCode, kODErrUnsupportedFramePositionCode, 16
  661.             ;kODErrIllegalNullPartInput, kODErrIllegalNullPartInput, 17
  662.             ;kODErrIllegalNullTransformInput, kODErrIllegalNullTransformInput, 18
  663.             ;kODErrUnsupportedPosCode, kODErrUnsupportedPosCode, 20
  664.             
  665.             ;kODErrInvalidPermissions, kODErrInvalidPermissions, 21
  666.             ;kODErrNoValueAtThatIndex, kODErrNoValueAtThatIndex, 22
  667.             ;kODErrCannotAddProperty, kODErrCannotAddProperty, 23
  668.             ;kODErrUnfocusedStorageUnit, kODErrUnfocusedStorageUnit, 25
  669.             ;kODErrIllegalNullPropertyInput, kODErrIllegalNullPropertyInput, 26
  670.             ;kODErrIllegalNullSUCursorInput, kODErrIllegalNullSUCursorInput, 27
  671.             ;kODErrInvalidStorageUnitRef, kODErrInvalidStorageUnitRef, 28
  672.             ;kODErrInvalidStorageUnitKey, kODErrInvalidStorageUnitKey, 30
  673.             
  674.             ;kODErrStorageUnitNotLocked, kODErrStorageUnitNotLocked, 31
  675.             ;kODErrNoDraftProperties, kODErrNoDraftProperties, 32
  676.             ;kODErrCannotCreateFrame, kODErrCannotCreateFrame, 33
  677.             ;kODErrCannotAcquireFrame, kODErrCannotAcquireFrame, 34
  678.             ;kODErrCannotCreatePart, kODErrCannotCreatePart, 35
  679.             ;kODErrCannotAcquirePart, kODErrCannotAcquirePart, 36
  680.             ;kODErrCannotCreateLink, kODErrCannotCreateLink, 37
  681.             ;kODErrCannotAcquireLink, kODErrCannotAcquireLink, 38
  682.             ;kODErrInvalidCloneKind, kODErrInvalidCloneKind, 39
  683.             ;kODErrInvalidBelowDraft, kODErrInvalidBelowDraft, 40
  684.             
  685.             ;kODErrCannotCollapseDrafts, kODErrCannotCollapseDrafts, 42
  686.             ;kODErrNonEmptyDraft, kODErrNonEmptyDraft, 43
  687.             ;kODErrNoPreviousDraft, kODErrNoPreviousDraft, 44
  688.             ;kODErrOutstandingDraft, kODErrOutstandingDraft, 45
  689.             ;kODErrInvalidDraftID, kODErrInvalidDraftID, 46
  690.             ;kODErrCannotChangePermissions, kODErrCannotChangePermissions, 47
  691.             ;kODErrContainerExists, kODErrContainerExists, 48
  692.             ;kODErrCannotGetExternalLink, kODErrCannotGetExternalLink, 50
  693.             
  694.             ;kODErrNoLinkSpecValue, kODErrNoLinkSpecValue, 51
  695.             ;kODErrUnknownLinkSpecVersion, kODErrUnknownLinkSpecVersion, 52
  696.             ;kODErrCorruptLinkSpecValue, kODErrCorruptLinkSpecValue, 53
  697.             ;kODErrNotExportedLink, kODErrNotExportedLink, 54
  698.             ;kODErrBrokenLink, kODErrBrokenLink, 55
  699.             ;kODErrNotImportedLink, kODErrNotImportedLink, 56
  700.             ;kODErrBrokenLinkSource, kODErrBrokenLinkSource, 57
  701.             ;kODErrDocNotSaved, kODErrDocNotSaved, 58
  702.             ;kODErrNoDragManager, kODErrNoDragManager, 59
  703.             ;kODErrNoDragSystemStorage, kODErrNoDragSystemStorage, 60
  704.         
  705.             ;kODErrDragItemNotFound, kODErrDragItemNotFound, 61
  706.             ;kODErrCannotAllocateDragItem, kODErrCannotAllocateDragItem, 62
  707.             ;kODErrUnknownDragImageType, kODErrUnknownDragImageType, 63
  708.             ;kODErrDragTrackingException, kODErrDragTrackingException, 64
  709.             ;kODErrFocusAlreadyRegistered, kODErrFocusAlreadyRegistered, 65
  710.             ;kODErrFocusNotRegistered, kODErrFocusNotRegistered, 66
  711.             ;kODErrIllegalNullDispatchModuleInput, kODErrIllegalNullDispatchModuleInput, 67
  712.             ;kODErrCannotMarkAction, kODErrCannotMarkAction, 68
  713.             ;kODErrEmptyStack, kODErrEmptyStack, 69
  714.             ;kODErrNoBeginAction, kODErrNoBeginAction, 70
  715.     
  716.             ;kODErrCannotAddAction, kODErrCannotAddAction, 71
  717.             ;kODErrCannotCreateWindow, kODErrCannotCreateWindow, 72
  718.             ;kODErrInvalidObjectType, kODErrInvalidObjectType,74
  719.             ;kODErrInvalidPersistentObjectID, kODErrInvalidPersistentObjectID, 75
  720.             ;kODErrRefCountNotEqualOne, kODErrRefCountNotEqualOne, 76
  721.             ;kODErrCouldNotBindForeignDocument, kODErrCouldNotBindForeignDocument, 77
  722.             ;kODErrPartInUse, kODErrPartInUse, 78
  723.             ;kODErrAllWritableVolumesAreFull, kODErrAllWritableVolumesAreFull, 79
  724.             ;kODErrSystemVolumeIsFull, kODErrSystemVolumeIsFull, 80
  725.  
  726.             ;kODErrDirectoryNotHaveWriteAccess, kODErrDirectoryNotHaveWriteAccess, 81
  727.             ;kODErrCannotSaveACopyOntoCurrentDoc, kODErrCannotSaveACopyOntoCurrentDoc, 82
  728.             ;kODErrCannotSaveACopyOntoBusyDoc, kODErrCannotSaveACopyOntoBusyDoc, 83
  729.             ;kODErrIllegalNullStorageSystemInput, kODErrIllegalNullStorageSystemInput, 84
  730.             ;kODErrCannotRevealLink, kODErrCannotRevealLink, 85
  731.             ;kODErrCorruptLink, kODErrCorruptLink, 86
  732.             ;kODErrLinkAlreadyExported, kODErrLinkAlreadyExported, 87
  733.             ;kODErrCorruptLinkSource, kODErrCorruptLinkSource, 88
  734.             ;kODErrCannotFindLinkSourceEdition, kODErrCannotFindLinkSourceEdition, 89
  735.             ;kODErrCannotFindLinkSource, kODErrCannotFindLinkSource, 90
  736.  
  737.             ;kODErrAlreadyImportedLink, kODErrAlreadyImportedLink, 91
  738.             ;kODErrNullFacetInput, kODErrNullFacetInput, 92
  739.             ;kODErrInvalidFrame, kODErrInvalidFrame, 97
  740.             ;kODErrInvalidFacet, kODErrInvalidFacet, 98
  741.  
  742.             ;kODErrInvalidGraphicsSystem, kODErrInvalidGraphicsSystem, 101
  743.             ;kODErrTransformErr, kODErrTransformErr, 102
  744.             ;kODErrCanvasNotFound, kODErrCanvasNotFound, 103
  745.             ;kODErrInvalidBlock, kODErrInvalidBlock, 104
  746.             ;kODErrInvalidNSName, kODErrInvalidNSName, 105
  747.             ;kODErrInvalidStorageUnit, kODErrInvalidStorageUnit, 109
  748.  
  749.             ;kODErrInvalidID, kODErrInvalidID, 112
  750.             ;kODErrInconsistentCloneKind, kODErrInconsistentCloneKind, 113
  751.             ;kODErrInvalidLinkKey, kODErrInvalidLinkKey, 114
  752.             ;kODErrCannotCreateContainer, kODErrCannotCreateContainer, 115
  753.             ;kODErrCannotOpenContainer, kODErrCannotOpenContainer, 116
  754.             ;kODErrInvalidDestinationDraft,kODErrInvalidDestinationDraft, 117
  755.             ;kODErrInvalidDraftKey, kODErrInvalidDraftKey, 118
  756.             ;kODErrCloningInProgress, kODErrCloningInProgress, 119
  757.  
  758.             ;kODErrIllegalNullTokenInput, kODErrIllegalNullTokenInput, 121        
  759.             ;kODErrIllegalNullShapeInput, kODErrIllegalNullShapeInput, 122
  760.             ;kODErrIllegalNullStorageUnitInput,kODErrIllegalNullStorageUnitInput, 123
  761.             ;kODErrCannotFindSystemEditorsFolder, kODErrCannotFindSystemEditorsFolder, 124
  762.             ;kODErrCannotFindOpenDocLibrariesFolder, kODErrCannotFindOpenDocLibrariesFolder, 125
  763.             ;kODErrDoesNotUndo, kODErrDoesNotLink, 126
  764.             ;kODErrPartNotWrapper, kODErrPartNotWrapper, 127
  765.             ;kODErrInvalidPersistentObject,  kODErrInvalidPersistentObject, 128
  766.             ;kODErrEditorLibraryNotFound, kODErrEditorLibraryNotFound, 130
  767.             ;kODErrCannotSaveAsOntoBusyDoc, kODErrCannotSaveAsOntoBusyDoc, 131
  768.  
  769.             ;kODErrAlreadyNotified, kODErrAlreadyNotified, 132
  770.  
  771.             ;kODErrIllegalNullFacetInput, kODErrIllegalNullFacetInput, 133
  772.             ;kODErrIllegalNullFrameInput, kODErrIllegalNullFrameInput, 134
  773.             ;kODErrIllegalNullContainerInput, kODErrIllegalNullContainerInput, 135
  774.             ;kODErrIllegalNullDocumentInput, kODErrIllegalNullDocumentInput, 136
  775.             ;kODErrIllegalNullDraftInput, kODErrIllegalNullDraftInput, 137
  776.             ;kODErrIllegalNullValueTypeInput, kODErrIllegalNullValueTypeInput, 138
  777.             ;kODErrIllegalNullIDInput, kODErrIllegalNullIDInput, 139
  778.  
  779.             ;kODErrValueOutOfRange, kODErrValueOutOfRange, 140
  780.  
  781.             ;kODErrInsufficientInfoInParams, kODErrInsufficientInfoInParams, 141
  782.  
  783.             ;kODErrInvalidPersistentFormat, kODErrInvalidPersistentFormat, 142
  784.  
  785.             ;kODErrInvalidExtension, kODErrInvalidExtension, 143
  786.             ;kODErrUnknownExtension, kODErrUnknownExtension, 144
  787.  
  788.             ;kODErrRefCountGreaterThanZero, kODErrRefCountGreaterThanZero, 145
  789.  
  790.             ;kODErrIteratorNotInitialized, kODErrIteratorNotInitialized, 146
  791.  
  792.             ;kODErrNoPromises, kODErrNoPromises, 147
  793.             ;kODErrDoesNotDrop, kODErrDoesNotDrop, 148
  794.  
  795.             ;kODErrInvalidNSName, kODErrInvalidNSName, 149
  796.             ;kODErrInvalidNSType, kODErrInvalidNSType, 150
  797.  
  798.             ;kODErrInvalidITextFormat, kODErrInvalidITextFormat, 151
  799.  
  800.             ;kODErrInvalidPlatformShape, kODErrInvalidPlatformShape, 152
  801.  
  802.             ;kODErrFacetNotFound, kODErrFacetNotFound, 153
  803.             ;kODErrCanvasHasNoOwner, kODErrCanvasHasNoOwner, 154
  804.             ;kODErrNotRootFrame, kODErrNotRootFrame, 155
  805.             ;kODErrIllegalRecursiveEmbedding, kODErrIllegalRecursiveEmbedding, 156
  806.             ;kODErrFrameHasFacets, kODErrFrameHasFacets, 157
  807.  
  808.             ;kODErrInvalidLinkStatus, kODErrInvalidLinkStatus, 158
  809.  
  810.             ;kODErrNotAnODToken, kODErrNotAnODToken, 159
  811.             ;kODErrCantCountFromLists, kODErrCantCountFromLists, 160
  812.  
  813.             ;kODErrContainerDoesNotExist, kODErrContainerDoesNotExist, 161
  814.             ;kODErrDocumentDoesNotExist, kODErrDocumentDoesNotExist, 162
  815.             ;kODErrDraftDoesNotExist, kODErrDraftDoesNotExist, 163
  816.             ;kODErrDraftHasBeenDeleted, kODErrDraftHasBeenDeleted, 164
  817.             ;kODErrIllegalOperationOnSU, kODErrIllegalOperationOnSU, 165
  818.             ;kODErrSUValueDoesNotExist, kODErrSUValueDoesNotExist, 166
  819.             ;kODErrIllegalNonTopmostDraft, kODErrIllegalNonTopmostDraft, 167
  820.  
  821.             ;kODErrValueIndexOutOfRange, kODErrValueIndexOutOfRange, 168
  822.             ;kODErrInvalidValueType, kODErrInvalidValueType, 169
  823.             ;kODErrIllegalPropertyName, kODErrIllegalPropertyName, 170
  824.             ;kODErrPropertyDoesNotExist, kODErrPropertyDoesNotExist, 171
  825.             ;kODErrMoveIntoSelf, kODErrMoveIntoSelf, 172
  826.  
  827.             ;kODErrNullDestinationFrame, kODErrNullDestinationFrame, 173
  828.             ;kODErrNoLinkContent, kODErrNoLinkContent, 174
  829.             ;kODErrCannotRegisterDependent, kODErrCannotRegisterDependent, 175
  830.             ;kODErrUnknownUpdateID, kODErrUnknownUpdateID, 176
  831.             ;kODErrCannotEstablishLink, kODErrCannotEstablishLink, 177
  832.             ;kODErrNoEditionManager, kODErrNoEditionManager, 178
  833.             ;kODErrNullLinkInfoInput, kODErrNullLinkInfoInput, 179
  834.             ;kODErrNullLinkInfoResultInput, kODErrNullLinkInfoResultInput, 180
  835.  
  836.             ;kODErrNullPasteAsResultInput, kODErrNullPasteAsResultInput, 181
  837.             ;kODErrBackgroundClipboardClear, kODErrBackgroundClipboardClear, 182
  838.             ;kODErrIllegalClipboardCloneKind, kODErrIllegalClipboardCloneKind, 183
  839.  
  840.             ;kODErrInvalidCommandID, kODErrInvalidCommandID, 184
  841.             ;kODErrNoSysTranslationFacility, kODErrNoSysTranslationFacility, 206
  842.  
  843.             ;kODErrFatalContainerError, kODErrFatalContainerError, 96
  844.             ;kODErrCannotDeferClone, kODErrCannotDeferClone, 100
  845.  
  846.             ;dirFulErr, dirFulErr, 185
  847.             ;dskFulErr, dskFulErr, 186
  848.             ;nsvErr, nsvErr,  187
  849.             ;ioErr, ioErr,  188
  850.             ;bdNamErr, bdNamErr,  189
  851.             ;nsvErr, nsvErr,  190
  852.             ;fnfErr, fnfErr,  191
  853.             ;wPrErr, wPrErr,  192
  854.             ;fLckdErr, fLckdErr,  193
  855.             ;vLckdErr, vLckdErr,  194
  856.             ;fBsyErr, fBsyErr,  195
  857.             ;dupFNErr, dupFNErr,  196
  858.             ;opWrErr, opWrErr,  197
  859.             ;permErr, permErr,  198
  860.             ;wrPermErr, wrPermErr,  199
  861.             ;dirNFErr, dirNFErr,  200
  862.             ;memFullErr, memFullErr,  201
  863.             ;resNotFound, resNotFound,  202
  864.             ;resFNotFound, resFNotFound,  203
  865.             ;fragLibNotFound, fragLibNotFound,  204
  866.             ;fragHadUnresolveds, fragHadUnresolveds,  205
  867.  
  868.  
  869.             ;minUtilsErr, maxUtilsErr, 24
  870.             ;minShellErr, maxShellErr, 29
  871.             ;minODBentoErr, maxODBentoErr, 41
  872.             ;minBentoErr, maxBentoErr, 49
  873.             ;minUIErr, maxUIErr, 95
  874.  
  875.             ;kODMinError, kODMinUsedError, 1
  876.  
  877.             ;minErr, maxErr, 210
  878.     }
  879. };
  880.  
  881. /* error technical explanations */
  882. /*
  883.    DO NOT DELETE ANY STRINGS FROM THE STR# resources. Simply empty them out.
  884.    Like this:   ;""
  885.    This we they don't get renumbered, we don't have to try and fix up the
  886.    'errs' resources to point to the renumbered indexes into the STR# resources.
  887. */
  888.  
  889. resource 'STR#' (kODErrSupportIDStrings,purgeable) {
  890.     {     "Unknown OpenDoc error. No name available. Please file a bug."
  891.         ,"kODErrIllegalNullInput"
  892.         ,"kODErrObjectNotInitialized"
  893.         ,"kODErrOutOfMemory"
  894.         ,"kODErrNotImplemented"
  895.         ,"kODErrReadErr"
  896.         ,"kODErrWriteErr"
  897.         ,"kODErrSubClassResponsibility"
  898.         ,"kODErrUnsupportedExtension"
  899. /* 10 */,"kODErrZeroRefCount"
  900.         
  901.         ,"kODErrIteratorOutOfSync"
  902.         ,"kODErrCannotEmbed"
  903.         ,"kODErrKeyAlreadyExists"
  904.         ,"kODErrWrongNameSpaceType"
  905.         ,"kODErrNoShapeGeometry"
  906.         ,"kODErrUnsupportedFramePositionCode"
  907.         ,"kODErrIllegalNullPartInput"
  908.         ,"kODErrIllegalNullTransformInput"
  909.         ,"kODErrPartHasNoSemanticInterface"
  910. /* 20 */,"kODErrUnsupportedPosCode"
  911.         
  912.         ,"kODErrInvalidPermissions"
  913.         ,"kODErrNoValueAtThatIndex"
  914.         ,"kODErrCannotAddProperty"
  915.         ,"Private Utilities error."
  916.         ,"kODErrUnfocusedStorageUnit"
  917.         ,"kODErrIllegalNullPropertyInput"
  918.         ,"kODErrIllegalNullSUCursorInput"
  919.         ,"kODErrInvalidStorageUnitRef"
  920.         ,"Private Shell error."
  921. /* 30 */,"kODErrInvalidStorageUnitKey"
  922.         
  923.         ,"kODErrStorageUnitNotLocked"
  924.         ,"kODErrNoDraftProperties"
  925.         ,"kODErrCannotCreateFrame"
  926.         ,"kODErrCannotAcquireFrame"
  927.         ,"kODErrCannotCreatePart"
  928.         ,"kODErrCannotAcquirePart"
  929.         ,"kODErrCannotCreateLink"
  930.         ,"kODErrCannotAcquireLink"
  931.         ,"kODErrInvalidCloneKind"
  932. /* 40 */,"kODErrInvalidBelowDraft"
  933.         
  934.         ,"Private Bento container suite error."
  935.         ,"kODErrCannotCollapseDrafts"
  936.         ,"kODErrNonEmptyDraft"
  937.         ,"kODErrNoPreviousDraft"
  938.         ,"kODErrOutstandingDraft"
  939.         ,"kODErrInvalidDraftID"
  940.         ,"kODErrCannotChangePermissions"
  941.         ,"kODErrContainerExists"
  942.         ,"Private Bento error."
  943. /* 50 */,"kODErrCannotGetExternalLink"
  944.         
  945.         ,"kODErrNoLinkSpecValue"
  946.         ,"kODErrUnknownLinkSpecVersion"
  947.         ,"kODErrCorruptLinkSpecValue"
  948.         ,"kODErrNotExportedLink"
  949.         ,"kODErrBrokenLink"
  950.         ,"kODErrNotImportedLink"
  951.         ,"kODErrBrokenLinkSource"
  952.         ,"kODErrDocNotSaved"
  953.         ,"kODErrNoDragManager"
  954. /* 60 */,"kODErrNoDragSystemStorage"
  955.         
  956.         ,"kODErrDragItemNotFound"
  957.         ,"kODErrCannotAllocateDragItem"
  958.         ,"kODErrUnknownDragImageType"
  959.         ,"kODErrDragTrackingException"
  960.         ,"kODErrFocusAlreadyRegistered"
  961.         ,"kODErrFocusNotRegistered"
  962.         ,"kODErrIllegalNullDispatchModuleInput"
  963.         ,"kODErrCannotMarkAction"
  964.         ,"kODErrEmptyStack"
  965. /* 70 */,"kODErrNoBeginAction"
  966.         
  967.         ,"kODErrCannotAddAction"
  968.         ,"kODErrCannotCreateWindow"    
  969.         ,"kODErrSOMException"
  970.         ,"kODErrInvalidObjectType"
  971.         ,"kODErrInvalidPersistentObjectID"
  972.         ,"kODErrRefCountNotEqualOne"
  973.         ,"kODErrCoundNotBindForeignDocument"
  974.         ,"kODErrPartInUse"
  975.         ,"kODErrAllWritableVolumesAreFull"
  976. /* 80 */,"kODErrSystemVolumeIsFull"
  977.  
  978.         ,"kODErrDirectoryNotHaveWriteAccess"
  979.         ,"kODErrCannotSaveACopyOntoCurrentDoc"
  980.         ,"kODErrCannotSaveACopyOntoBusyDoc"
  981.         ,"kODErrIllegalNullStorageSystemInput"
  982.         ,"kODErrCannotRevealLink"
  983.         ,"kODErrCorruptLink"
  984.         ,"kODErrLinkAlreadyExported"
  985.         ,"kODErrCorruptLinkSource"
  986.         ,"kODErrCannotFindLinkSourceEdition"
  987. /* 90 */,"kODErrCannotFindLinkSource"
  988.  
  989.         ,"kODErrAlreadyImportedLink"
  990.         ,"kODErrNullFacetInput"
  991.         ,"kODErrFileClosed"
  992.         ,"kODErrFileOpened"
  993.         ,"Private UI error."
  994.         ,"kODErrFatalContainerError"
  995.         ,"kODErrInvalidFrame"
  996.         ,"kODErrInvalidFacet"
  997.         ,"kODErrUndefined"
  998. /*100 */,"kODErrCannotDeferClone"
  999.  
  1000.         ,"kODErrInvalidGraphicsSystem"
  1001.         ,"kODErrTransformErr"
  1002.         ,"Unused message slot. Please report this."
  1003.         ,"kODErrMemoryProblem"
  1004.         ,"kODErrInvalidNSName"
  1005.         ,"Unused message slot. Please report this."
  1006.         ,"Unused message slot. Please report this."
  1007.         ,"Unused message slot. Please report this."
  1008.         ,"kODErrInvalidStorageUnit"
  1009. /*110 */,"kODErrInvalidType"
  1010.  
  1011.         ,"Unused message slot. Please report this."
  1012.         ,"kODErrInvalidID"
  1013.         ,"kODErrInconsistentCloneKind"
  1014.         ,"kODErrInvalidLinkKey"
  1015.         ,"kODErrCannotCreateContainer"
  1016.         ,"kODErrCannotOpenContainer"    
  1017.         ,"kODErrInvalidDestinationDraft"    
  1018.         ,"kODErrInvalidDraftKey"    
  1019.         ,"kODErrCloningInProgress"    
  1020. /*120 */,"kODErrNoDocumentProperties"    
  1021.  
  1022.         ,"kODErrIllegalNullTokenInput"    
  1023.         ,"kODErrIllegalNullShapeInput"    
  1024.         ,"kODErrIllegalNullStorageUnitInput"    
  1025.         ,"kODErrCannotFindSystemEditorsFolder"    
  1026.         ,"kODErrCannotFindOpenDocLibrariesFolder"    
  1027.         ,"kODErrDoesNotUndo"    
  1028.         ,"kODErrPartNotWrapper"    
  1029.         ,"kODErrInvalidPersistentObject"    
  1030.         ,"kODErrCantLoadSOMClass"
  1031. /*130 */,"kODErrEditorLibraryNotFound"
  1032.  
  1033.          ,"kODErrCannotSaveAsOntoBusyDoc"
  1034.          ,"kODErrAlreadyNotified"
  1035.          ,"kODErrIllegalNullFacetInput"
  1036.          ,"kODErrIllegalNullFrameInput"
  1037.          ,"kODErrIllegalNullContainerInput"
  1038.          ,"kODErrIllegalNullDocumentInput"
  1039.          ,"kODErrIllegalNullDraftInput"
  1040.          ,"kODErrIllegalNullValueTypeInput"
  1041.          ,"kODErrIllegalNullIDInput"
  1042. /*140 */,"kODErrValueOutOfRange"
  1043.  
  1044.         ,"kODErrInsufficientInfoInParams"
  1045.          ,"kODErrInvalidPersistentFormat"
  1046.          ,"kODErrInvalidExtension"
  1047.          ,"kODErrUnknownExtension"
  1048.          ,"kODErrRefCountGreaterThanZero"
  1049.          ,"kODErrIteratorNotInitialized"
  1050.          ,"kODErrNoPromises"
  1051.          ,"kODErrDoesNotDrop"
  1052.          ,"kODErrInvalidNSName"
  1053. /*150 */,"kODErrInvalidNSType"
  1054.  
  1055.          ,"kODErrInvalidITextFormat"
  1056.         ,"kODErrInvalidPlatformShape"
  1057.          ,"kODErrFacetNotFound"
  1058.          ,"kODErrCanvasHasNoOwner"
  1059.          ,"kODErrNotRootFrame"
  1060.          ,"kODErrIllegalRecursiveEmbedding"
  1061.          ,"kODErrFrameHasFacets"
  1062.          ,"kODErrInvalidLinkStatus"
  1063.          ,"kODErrNotAnODToken"
  1064. /*160 */ ,"kODErrCantCountFromLists"
  1065.  
  1066.          ,"kODErrContainerDoesNotExist"
  1067.          ,"kODErrDocumentDoesNotExist"
  1068.         ,"kODErrDraftDoesNotExist"
  1069.          ,"kODErrDraftHasBeenDeleted"
  1070.          ,"kODErrIllegalOperationOnSU"
  1071.          ,"kODErrSUValueDoesNotExist"
  1072.          ,"kODErrIllegalNonTopmostDraft"
  1073.          ,"kODErrValueIndexOutOfRange"
  1074.          ,"kODErrInvalidValueType"
  1075. /*170 */,"kODErrIllegalPropertyName"
  1076.  
  1077.          ,"kODErrPropertyDoesNotExist"
  1078.          ,"kODErrMoveIntoSelf"
  1079.          ,"kODErrNullDestinationFrame"
  1080.         ,"kODErrNoLinkContent"
  1081.          ,"kODErrCannotRegisterDependent"
  1082.          ,"kODErrUnknownUpdateID"
  1083.          ,"kODErrCannotEstablishLink"
  1084.          ,"kODErrNoEditionManager"
  1085.          ,"kODErrNullLinkInfoInput"
  1086. /*180 */,"kODErrNullLinkInfoResultInput"
  1087.  
  1088.         ,"kODErrNullPasteAsResultInput"
  1089.          ,"kODErrBackgroundClipboardClear"
  1090.          ,"kODErrIllegalClipboardCloneKind"
  1091.          ,"kODErrInvalidCommandID"
  1092.         ,"dirFulErr"
  1093.         ,"dskFulErr"
  1094.         ,"nsvErr"
  1095.         ,"ioErr"
  1096.         ,"bdNamErr"
  1097. /*190 */,"nsvErr"
  1098.  
  1099.         ,"fnfErr"
  1100.         ,"wPrErr"
  1101.         ,"fLckdErr"
  1102.         ,"vLckdErr"
  1103.         ,"fBsyErr"
  1104.         ,"dupFNErr"
  1105.         ,"opWrErr"
  1106.         ,"permErr"
  1107.         ,"wrPermErr"
  1108. /*200 */,"dirNFErr"
  1109.  
  1110.         ,"memFullErr"
  1111.         ,"resNotFound"
  1112.         ,"resFNotFound"
  1113.         ,"fragLibNotFound"
  1114.         ,"fragHadUnresolveds"
  1115.         ,"kODErrNoSysTranslationFacility"
  1116.         ,"Unused message slot. Please report this."
  1117.         ,"Unused message slot. Please report this."
  1118.         ,"Unused message slot. Please report this."
  1119. /*210 */,"Unknown error, outside of OpenDoc error range. No name available."
  1120.     }
  1121. };
  1122.  
  1123.  
  1124.